import { postAxios, getAxios, postDownloadAxios } from '@/lib/http';

export const vehicleConfigurationApi = {
    // 添加${tableDesc} @author 何杺
    addVehicleConfiguration: (data) => {
        return postAxios('/vehicleConfiguration/add', data);
    },
    // 分页查询${tableDesc} @author 何杺
    queryVehicleConfiguration: (data) => {
        return postAxios('/vehicleConfiguration/page/query', data);
    },
    // 批量删除${tableDesc} @author 何杺
    batchDeleteVehicleConfiguration: (idList) => {
        return postAxios('/vehicleConfiguration/deleteByIds', idList);
    },
    // 修改${tableDesc}  @author 何杺
    updateVehicleConfiguration: (data) => {
        return postAxios('/vehicleConfiguration/update',data);
    },
    // 导出全部  @author 何杺
    exportAll:(data)=>{
        return postDownloadAxios('/vehicleConfiguration/export/all',data);
    },
    // 批量导出  @author 何杺
    batchExport: (idList) => {
        return postDownloadAxios('/vehicleConfiguration/export/batch', idList);
    },
};
